import service from "./base";

export const createProduct = (data) => {
  return service.post("/api/har/product/createProduct", data);
};

export const getProductList = (data) => {
  return service.post("/api/har/product/getProductList", data);
};

export const createProject = (data) => {
  return service.post("/api/har/project/createProject", data);
};

export const getProjectList = (data) => {
  return service.post("/api/har/project/getProjectList", data);
};

export const uploadHarFiles = (data) => {
  return service.post("/api/har/uploadHarFiles", data);
};

export const getHarList = (data) => {
  return service.post("/api/har/getHarList", data);
};

export const generateWinexJmxs = (data) => {
  return service.post("/api/jmx/winex/generateJmxs", data);
};

export const generateJmxs = (data) => {
  return service.post("/api/jmx/generateJmxs", data);
};